package com.linkhouse.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkhouse.domain.po.TbOldRoom;
import com.linkhouse.domain.po.TbRentRoom;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.elasticsearch.core.SearchHit;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface TbRentRoomESMapper extends ElasticsearchRepository<TbRentRoom,Long> {
//    Interfaces
    List<SearchHit<TbOldRoom>> findByAddr(String addr);
}
